
import React from 'react';
import { PropertyInformation } from './Propertyinformation/index.jsx'
import { PropertyInformation } from './Unittypeinformation/index.jsx'
import { PropertyPhotoAlbum } from './Propertyphotoalbum/index.jsx'
import { RealeStateDevelopments } from './Realestatedevelopments/index.jsx'

const App = () => {
  //Tags
  const onChange = (key) => {
    console.log(key);
  };

 
    
  
  const items = [
    {
      key: '1',
      label: `楼盘信息`,
      children:<PropertyInformation></PropertyInformation>,
    },
    {
      key: '2',
      label: `户型信息`,
      children: <UnitTypeInformation></UnitTypeInformation>,
    },
    {
      key: '3',
      label: `楼盘相册`,
      children: <PropertyPhotoAlbum></PropertyPhotoAlbum>,
    },
    {
      key: '4',
      label: `楼盘动态`,
      children:<RealeStateDevelopments></RealeStateDevelopments>,
    },
  ];

  return(
    <Tabs defaultActiveKey="1" items={items} onChange={onChange} />
  );
 
}

export default App;